package test;

import java.util.Scanner;

public class test4 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("Enter a number: ");
        int number1 = scanner.nextInt();
        System.out.println("(Enter other number: ");
        int number2 = scanner.nextInt();

        int res= number1 > number2 ? number1 : number2;
        System.out.println("The largest number is: " + res);


    }

}